package com.zyg.controller;

import cn.dev33.satoken.annotation.SaCheckLogin;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    //@SaCheckLogin
    @RequestMapping("/toindex")
    public String toindex() {
        return "index";
    }
    //@SaCheckLogin
    @RequestMapping("/toindex_v1")
    public String toindex_v1() {
        return "index_v1";
    }
}
